package com.yf.service.im;

import com.yf.entity.MsgEntity;
import com.yf.entity.MsgSessionEntity;
import com.yf.entity.UserEntity;
import com.yf.service.BaseService;

import java.util.List;

/**
 * 好友请求Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Oct 17 15:08:36 CST 2018
 */
public interface MsgSessionService extends BaseService<MsgSessionEntity> {
    //所有人的会话记录
    List<MsgSessionEntity> getAllMsgSession(UserEntity userEntity);


    //保存消息会话
    void saveMsgSession(MsgSessionEntity msgSessionEntity);
}
